package org.leonos.core.route;

import com.jfinal.config.Routes;
import org.leonos.web.system.controller.BaseController;
import org.leonos.web.system.controller.DashboardController;
import org.leonos.web.system.controller.MenuController;
import org.leonos.web.system.controller.RoleController;

/**
 * 基础访问路径配置
 * @author LeonXiao
 */
public class BaseRoute extends Routes{

    @Override
    public void config() {
        add("/", BaseController.class);
        add("/dashboard", DashboardController.class);
        add("/role", RoleController.class);
        add("/menu", MenuController.class);
    }
}
